package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.StoreGrade;

import java.util.List;
import java.util.Map;


@DBMapper
public interface StoreGradeMapper {
    int deleteByPrimaryKey(Integer sgId);

    int insert(StoreGrade record);

    int insertSelective(StoreGrade record);

    StoreGrade selectByPrimaryKey(Integer sgId);

    int updateByPrimaryKeySelective(StoreGrade record);

    int updateByPrimaryKeyWithBLOBs(StoreGrade record);

    int updateByPrimaryKey(StoreGrade record);

    List<StoreGrade> selectStoreGradeByCondition(StoreGrade storeGrade);

    int delStoreGradeBatch(List<String> list);

    List<StoreGrade> checkStoreGradeNameOrSortForModify(StoreGrade storeGrade);
}